<?php

class Sheriff {
	public static function login($id,$usename,$gid,$internal){
		
	}
	public static function logoff(){
		
	}
	public static function forceLock(){
		header('HTTP/1.1 403 Forbidden');
		echo '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">'.
			 '<html><head><title>403 Forbidden</title></head><body><h1>Forbidden</h1>'.
			 '<p>You don\'t have permission to access '.$_SERVER['REQUEST_URI'].
			 ' on this server.</p><hr>'.$_SERVER['SERVER_SIGNATURE'].
			 '</body></html>';
		exit;
	}
	public static function onlyWriterUser(){
		
	}
	public static function onlyReaderUser(){
		
	}
	public static function onlyUpdaterUser(){
		
	}
	public static function onlyInserterUser(){
		
	}
	public static function authorizeSession($id,$username,$gid,$newgid,$mod) {
		
	}
}
?>